package com.listsorter.test;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class LongItem
{

   long value;

   LongItem(long value)
   {
      this.value = value;
   }

   public long sortOrder()
   {
      return this.value;
   }

   public long customOrder()
   {
      return this.value;
   }

   public Long customOrder2()
   {
      return this.value;
   }

   public static List<LongItem> getItemList()
   {
      Random r = new Random();
      List<LongItem> list = new ArrayList<LongItem>();
      for (int i = 15; i >= 0; i--)
      {
         list.add(new LongItem(i * r.nextLong()));

      }
      return list;
   }
}
